home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.2)
-
- import sys
- import os
- import _tkinter
- ver = str(_tkinter.TCL_VERSION)
- for t in ('tcl', 'tk', 'tix'):
- key = t.upper() + '_LIBRARY'
-
- try:
- v = os.environ[key]
- except KeyError:
- v = os.path.join(sys.prefix, 'tcl', t + ver)
- if os.path.exists(os.path.join(v, 'tclIndex')):
- os.environ[key] = v
-
- except:
- os.path.exists(os.path.join(v, 'tclIndex'))
-
-
-